<?php

class User{

	private $user_id;
	private $email;
	private $name;
	private $password;
	
	function __construct($email, $name, $password, $id=null){
		$this->user_id = $id;
		$this->name = $name;
		$this->password = $password;
		$this->email = $email;
	}

	public function get_user_id(){
		return $this->user_id;
	}

	public function get_name(){
		return $this->name;
	}

	public function set_password($password){
		$this->password = $password;
	}

	public function get_password(){
		return $this->password;
	}

	public function set_email($email){
		$this->email = $email;
	}

	public function get_email(){
		return $this->email;
	}

}

?>
